package com.gosophia.metadataEngine.action;

import org.springframework.beans.factory.annotation.Autowired;

import com.gosophia.commons.web.action.BaseSupportAction;
import com.gosophia.metadataEngine.dto.MetaDataTableDto;
import com.gosophia.metadataEngine.ws.MetadataEngineWebService;

public class EditMetadataTableInfoPageAction extends BaseSupportAction {
	@Autowired
	private MetadataEngineWebService metadataEngineWebService;
	
	private MetaDataTableDto metaDataTableDto;
	@Override
	public String _execute() throws Exception {
		metadataEngineWebService.updateMetaDataTable(metaDataTableDto);
		return SUCCESS;
	}
	public MetaDataTableDto getMetaDataTableDto() {
		return metaDataTableDto;
	}
	public void setMetaDataTableDto(MetaDataTableDto metaDataTableDto) {
		this.metaDataTableDto = metaDataTableDto;
	}
}
